package com.ice.body.hardware.service.impl;
import com.ice.body.hardware.dao.DeviceVoiceDao;
import com.ice.body.hardware.model.DeviceVoice;
import com.ice.body.hardware.service.DeviceVoiceService;
import com.ice.base.dao.BaseDao;
import com.ice.base.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
 * Created with GuoYanBin.
 * Description:语音播报 serviceImpl
 * Date: 2021-12-07
 * Time: 01:42
 */
@Service
public class DeviceVoiceServiceImpl extends BaseServiceImpl<DeviceVoice> implements DeviceVoiceService{
    @Resource 
    private DeviceVoiceDao dao;
    @Override
    public BaseDao<DeviceVoice> getBaseDao() {
        return dao;
    }

    @Override
    public DeviceVoice getByIp(String ip) {
        return dao.getByIp(ip);
    }

    @Override
    public DeviceVoice getByWarehouseId(String warehouseId) {
        return dao.getByWarehouseId(warehouseId);
    }
}
